package com.example.suuu.project.system.entity;

import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.example.suuu.model.Pagination;
/**
 * <p>
 * 企业
 * </p>
 *
 * @author sun
 * @date 2023-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="su_enterprise 表对应的实体对象", description="企业")
@TableName("su_enterprise")
@JsonIgnoreProperties(value = {"isdel","currentPage","pageSize","password"})
@HeadRowHeight(value = 35)
@ContentRowHeight(value = 25)
public class SuEnterprise extends Pagination implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业编号")
    @TableField(value = "enterpriseCode")
    private String enterprisecode;

    @ApiModelProperty(value = "企业名称")
    @TableField(value = "enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "状态  1 启用   2 禁用")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField(value = "remark")
    private String remark;

    @ApiModelProperty(value = "是否删除   1 未删除   2 已删除")
    @TableField(value = "isdel")
    private Integer isdel;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateTime")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatetime;

    @ApiModelProperty(value = "操作人编号")
    @TableField(value = "operateUserCode")
    private String operateusercode;

    @ApiModelProperty(value = "排序")
    @TableField(value = "sort")
    private Integer sort;
}